package com.huawang.mdesign.model.service.request;


import io.swagger.v3.oas.annotations.media.Schema;
import com.huawang.business.dto.ProjectIdDTO;
import lombok.Data;

import java.util.List;

/**
 * @Description 显示关联元素Dto
 * @Date 2022/4/12
 * @Author baibf
 */
@Data
public class DisplayRelatedElementDTO extends ProjectIdDTO {

    private String projectId;

    @Schema(title = "关系一端的模型Id")
    private String instanceId;

    @Schema(title = "关系的方向，incoming,outgoing,both")
    private String relationDirection;

    @Schema(title = "选中的关系类型")
    private List<String> relationTypes;

    @Schema(title = "范围，wholeProject,package")
    private String scope;

    @Schema(title = "画布已存在的关系模型Id")
    private List<String> excludeRelationIds;

    @Schema(title = "层级")
    private Integer level = 1;
}
